<?php
ob_start(); 
session_start();
$ketqua=$_SESSION['ketqua'];

include_once($_SERVER['DOCUMENT_ROOT'].'/htqlmba/controls/c_saoLuuPhucHoi.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Thêm đơn vị</title>
        <link href="/htqlmba/libraries/css/capnhatdv.css" type="text/css" rel="stylesheet">
    </head>
    <body>
        <!--// thanh menu-->

        <div class="bodyStyle">
            <form action="" method="post" enctype="multipart/form-data" name="themdonvi" id="form1" >
    <p>&nbsp;</p>
    <table width="500" border="0" align="center">
      <tr>
        <td width="400" class="TableHeader">Sao lưu</td>
      </tr>
      <tr>
        <td class="btn"><input type="submit" name="backup" id="backup" value="Tạo sao lưu"  onclick="return newDoc();"/>          <label for="file"></label></td>
      </tr>
    </table>
   

    
    <p>&nbsp;</p>
    <table width="500" border="0" align="center">
      <tr>
        <td class="TableHeader">Phục hồi</td>
      </tr>
      <tr>
        <td class="btn"><input type="file" name="file" id="file" accept=".sql"/></td>
      </tr>
      <tr>
        <td class="btn"><input type="submit" name="restore" id="restore" value="Phục hồi" /></td>
      </tr>
    </table>
    <p>&nbsp;</p>
    <p><?php
	 echo $ketqua; ?></p>
  <?php
$_SESSION['ketqua']="";
?>
  </form>
        </div>
    </body>
</html>
